package team.freeroom.hotelmanage.service;

import org.springframework.stereotype.Service;
import team.freeroom.hotelmanage.repository.entity.Checkin;
import java.util.List;
import java.util.Map;

@Service
public interface CheckinService {
    int add(Checkin checkin);
    int edit(Checkin checkin);
    int delete(Long id);
    List<Checkin> findList(Map<String, Object> queryMap);
    Checkin find(Long id);
    List<Map> getStatsByMonth();
    List<Map> getStatsByDay();
    Integer getTotal(Map<String, Object> queryMap);
}
